#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include"Date.h"
using namespace std;

int main()
{
	Date d1(2023, 9, 12);
	Date d2(2023, 9, 13);
	Date d3(2023, 9, 11);
	Date d4(2023, 9, 12);
	Date d5(2016, 1, 10);

	cout << (d1 == d4) << endl;
	cout << (d1 == d2) << endl;
	cout << (d1 > d4) << endl;
	cout << (d1 > d3) << endl;
	cout << (d1 < d2) << endl;
	cout << (d1 < d3) << endl;
	cout << (d1 <= d4) << endl;
	cout << (d1 >= d4) << endl;
	cout << (d1 <= d2) << endl;
	cout << (d1 <= d3) << endl;
	cout << (d1 >= d3) << endl << endl;
	
	d1 -= 1200;
	d1.Print();
	d2 += 1200;
	d2.Print();
	cout << d5 - d1;
}
